/**
 * Created by Administrator on 2017/4/6.
 */
//  主路由模块
(function(angular){
    angular.module('mainApproute',
        [
            'ngRoute',
            'mainApp_jsonp_services',//jsonp服务
            'mainApp_in_theaters_route',//正在热映路由
            'mainApp_subject_route'//详情页模块路由
        ])
        //  配置路由表
        .config(['$routeProvider','$locationProvider',function($routeProvider,$locationProvider){
            $routeProvider
                //  默认跳转
                .otherwise({
                    redirectTo:'/movie/in_theaters'
                })
            //  忽略感叹号
            $locationProvider.hashPrefix("")
        }])
})(angular)